package com.ziyun.pop.modules.userWallet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户钱包表
 * 
 * @author llc
 * @email 787254039@qq.com
 * @date 2018-10-12 08:40:13
 */
@TableName("user_wallet")
public class UserWalletEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@TableId
	private Integer userId;
	/**
	 * 支付密码
	 */
	private String payPassword;
	/**
	 * 会员账户余额
	 */
	private BigDecimal advance;
	/**
	 * 信用额度，大于0开启用户信用支付
	 */
	private Integer creditLimit;
	/**
	 * 当前可用信用
	 */
	private BigDecimal creditUse;
	/**
	 * 积分
	 */
	private Integer point;
	/**
	 * 预存款冻结金额
	 */
	private BigDecimal advanceFreeze;
	/**
	 * 当前冻结积分(暂时停用)
	 */
	private Integer pointFreeze;

	/**
	 * 设置：用户id
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：支付密码
	 */
	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword;
	}
	/**
	 * 获取：支付密码
	 */
	public String getPayPassword() {
		return payPassword;
	}
	/**
	 * 设置：会员账户余额
	 */
	public void setAdvance(BigDecimal advance) {
		this.advance = advance;
	}
	/**
	 * 获取：会员账户余额
	 */
	public BigDecimal getAdvance() {
		return advance;
	}
	/**
	 * 设置：信用额度，大于0开启用户信用支付
	 */
	public void setCreditLimit(Integer creditLimit) {
		this.creditLimit = creditLimit;
	}
	/**
	 * 获取：信用额度，大于0开启用户信用支付
	 */
	public Integer getCreditLimit() {
		return creditLimit;
	}
	/**
	 * 设置：当前可用信用
	 */
	public void setCreditUse(BigDecimal creditUse) {
		this.creditUse = creditUse;
	}
	/**
	 * 获取：当前可用信用
	 */
	public BigDecimal getCreditUse() {
		return creditUse;
	}
	/**
	 * 设置：积分
	 */
	public void setPoint(Integer point) {
		this.point = point;
	}
	/**
	 * 获取：积分
	 */
	public Integer getPoint() {
		return point;
	}
	/**
	 * 设置：预存款冻结金额
	 */
	public void setAdvanceFreeze(BigDecimal advanceFreeze) {
		this.advanceFreeze = advanceFreeze;
	}
	/**
	 * 获取：预存款冻结金额
	 */
	public BigDecimal getAdvanceFreeze() {
		return advanceFreeze;
	}
	/**
	 * 设置：当前冻结积分(暂时停用)
	 */
	public void setPointFreeze(Integer pointFreeze) {
		this.pointFreeze = pointFreeze;
	}
	/**
	 * 获取：当前冻结积分(暂时停用)
	 */
	public Integer getPointFreeze() {
		return pointFreeze;
	}
}
